package com.xszx.mapper;

import com.xszx.entity.Goods;
import com.xszx.entity.Role;
import com.xszx.entity.Shopping;
import com.xszx.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @description:
 * @author:瓦达西瓦
 * @date:2024/10/31
 */
@Repository
public interface SystemMapper {


    List<Goods> getSort(Integer gtid);

    List<Role> getrole();

    List<Shopping> getShoppping(User user);

    List<Goods> getShoppping02(@Param("shoppingList") List<Shopping> shoppingList);

    List<Goods> getYouLove(@Param("shoppingList") List<Goods> shoppingList);


   Double getMoneySum();

    Integer getOrdersSum();

    Integer getuserSum();

    List<Goods> getGoodsSearch(String search);

    List<Goods> getNameSearch(String search);

    List<Goods> getGFSearch(char str);

    List<Goods> getNFSearch(char c);


}
